{{#and appMethod.psAppDEMethodInput appMethod.psAppDEMethodInput.psAppDEMethodDTO (eq appMethod.psAppDEMethodInput.psAppDEMethodDTO.type 'DEFAULT')}}
  {{#if appMethod.enableBatchAction}}
data = await {{appMethod.psAppDEMethodInput.psAppDEMethodDTO.codeName}}Help.toDtoArray(context, data as IParam[]);
  {{else}}
data = await {{appMethod.psAppDEMethodInput.psAppDEMethodDTO.codeName}}Help.get(context, data);
  {{/if}}
{{/and}}